package com.xiaoyun.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "pay_orders")
public class PayOrders {
    @Id
    private String id;

    @Column(name = "merchant_order_id")
    private String merchantOrderId;

    @Column(name ="merchant_user_id")
    private String merchantUserId;

    private Integer amount;

    @Column(name ="pay_method")
    private String payMethod;

    @Column(name ="return_url")
    private String returnUrl;

    @Column(name ="pay_status")
    private Integer payStatus;

    @Column(name ="come_from")
    private String comeFrom;

    @Column(name ="is_delete")
    private Integer isDelete;

    @Column(name ="created_time")
    private Date createdTime;
}
